{extend name="../../admin/view/main"}

{block name="button"}

{/block}

{block name="content"}
<div class="layui-tab layui-tab-card">
    <div class="layui-tab-content">
        {include file='shop/order/item_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>
                    <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
                </th>
                <th>旧利息本金总额</th>
                <th>旧复利金额</th>
                <th>当日增长复利金额</th>
                <th>新利息本金总额</th>
                <th>新复利金额</th>
                <th>日期</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-check-td think-checkbox'>
                    <label><input class="list-check-box" type='checkbox' value='{$vo.id}'></label>
                </td>
                <td class="text-left nowrap relative">
                    {$vo.old_total_amount|default='0.00'}
                </td>
                <td class="text-left nowrap relative">
                    {$vo.old_amount|default='0.00'}
                </td>
                <td class="text-left nowrap relative">
                    {$vo.change_amount|default='0.00'}
                </td>
                <td class="text-left nowrap relative">
                    {$vo.new_total_amount|default='0.00'}
                </td>
                <td class="text-left nowrap relative">
                    {$vo.new_amount|default='0.00'}
                </td>
                <td class="text-left nowrap relative">
                    {$vo.date|default='0.00'}
                </td>
                <td class="text-left nowrap">{$vo.create_at|format_datetime}</td>

                <td class='text-left nowrap'>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>
{/block}
